package com.infoauto.opc.gateway.service.impl;

import com.infoauto.opc.gateway.dao.AndProductionInfoRecordDao;
import com.infoauto.opc.gateway.model.AndProductionInfoRecord;
import com.infoauto.opc.gateway.service.AndProductionInfoRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AndProductionInfoRecordServiceImpl implements AndProductionInfoRecordService {
    @Autowired
    private AndProductionInfoRecordDao dao;


    @Override
    public int insert(AndProductionInfoRecord andProductionInfoRecord) {
        return dao.insert(andProductionInfoRecord);
    }

    @Override
    public int update(AndProductionInfoRecord andProductionInfoRecord) {
        return dao.update(andProductionInfoRecord);
    }
}
